home *** CD-ROM | disk | FTP | other *** search
/ PC Zone 96 / PC Zone #096.7z / Dppcz1200.mdf / Demos / Gunlok / data1.cab / Program_Executable_Files / scripts / fred.gsh < prev    next >
Text File  |  2000-09-09  |  1KB  |  48 lines

  1. // defines Fred
  2. ////////////////////////////////////////////////////////////////////////////////////
  3.  
  4. // start wrapper - prevent multiple inclusions or recursive inclusions
  5.  
  6. //(this currently causes 'unrecognized preprocessor directive' warnings, until implemented)
  7. #ifndef INCLUDED_FRED_GSH
  8. #define INCLUDED_FRED_GSH
  9.  
  10. ////////////////////////////////////////////////////////////////////////////////////
  11.  
  12. #include "defaults.gsh"
  13. #include "lasers.gsh"
  14.  
  15. hierarchy Hcy_Fred
  16. {
  17.     file "units\fred.RIF"
  18.     name "bolter + chainsaw"
  19.     hotspot "dum flash"
  20. }
  21.  
  22. character Chr_Fred : Chr_DefaultGoodie
  23. {
  24.     turning speed   1    // this is in revolutions per second
  25.     walking speed   1    // this is in animation cycles per second
  26.     weapon          Wpn_BlueLaser
  27.     strength        20    // initial strength points
  28.     aim             1.5    // how many degrees off target he can be at most
  29.     sight angle    85    // in degrees
  30.     sight range     8    // in metres
  31.     hearing range    17    // in metres
  32.     aggression    0.75    // from 0 to 1
  33. }
  34.  
  35. role Rol_Fred : Rol_DefaultRobot
  36. {
  37.     shape            Hcy_Fred
  38.     
  39.     character        Chr_Fred
  40.         
  41.     identifier       "fred"
  42. }
  43.  
  44. ////////////////////////////////////////////////////////////////////////////////////
  45.  
  46. // end wrapper - for preventing multiple or recursive inclusions
  47. #endif // !INCLUDED_FRED_GSH
  48.